package Java241123;

public class Test {

    public static void main(String[] args) {
        int a = 10;
        Integer i = a;//自动装箱
        Integer n = new Integer(a);//显示装箱
        Integer m = Integer.valueOf(a);//显示装箱
    }

    public static void main2(String[] args) {
        Integer a = 10;
        int i = a.intValue();//显示拆箱
        float ii  = a.floatValue();
    }
}
